from django.urls import path, include
from rest_framework.routers import DefaultRouter

from apps.plan.views import PlanCaseViewSet

router = DefaultRouter()
router.register('', PlanCaseViewSet, base_name='plan_case')
app_name = 'plan_case'

urlpatterns = [
    path('', include(router.urls)),
    path('add/<int:pk>', PlanCaseViewSet.add_cases_to_plan)
]
